<h1>Thêm cửa hàng</h1>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'drug-form',
	'enableAjaxValidation'=>false,
        'htmlOptions' => array('enctype' => 'multipart/form-data',)
)); ?>
<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'nameStore'); ?>
		<?php echo $form->textField($model,'nameStore',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'nameStore'); ?>
	</div>
        <div class="row">
		<?php echo $form->labelEx($model,'addressStore'); ?>
		<?php echo $form->textField($model,'addressStore',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'addressStore'); ?>
	</div>
    <div class="row">
		<?php echo $form->hiddenField($model,'hidden',array('value'=>-2)); ?>
	</div>
    <div class="row buttons">
		<?php echo CHtml::submitButton('Save'); ?>
	</div>
    <?php $this->endWidget(); ?>
</div>